<?php
/**
 * Block.php
 *
 * Helper used in thesis module.
 *
 * @author		b.wenneker <b.wenneker@gmail.com>, 2010
 */
class Thesis_View_Helper_Block extends Zend_View_Helper_Abstract{
	
	public function block($title, $summary = ''){
		
		$result = '';
		
		$result .= '<div class="block">';
		$result .= '<div class="block-wrapper">';
		$result .= '<div class="block-content">';
		
		$result .= '<h2 class="block-title">'.$title.'</h2>';
		$result .= '<div class="block-summary">'.$summary.'</div>';
		$result .= '</div>';
		$result .= '</div>';
		$result .= '</div>';
		
		return $result;
	}
}